package it.eng.area118.mdogpscollector.service;

import it.eng.area118.mdogpscollector.db.Item;

import java.util.Comparator;
import java.util.List;

public interface LookupService {

	public <E extends Item> List lookup(String pattern, boolean checkNext, Comparator<E> comp);

	public <E extends Item> List lookup(String pattern, Comparator<E> comp);

	public LookupViewer getViewer();

	public <E extends Item> List getAll(Comparator<E> comp);

	public <E extends Item> E getItem(String key) throws IllegalStateException;

}
